package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 清洁服务订单对象 cleaning_order
 *
 * @author ruoyi
 * @date 2021-06-18
 */
public class CleaningOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long coId;

    /** 服务类型 */
    @Excel(name = "服务类型")
    private String coType;

    /** 价格 */
    @Excel(name = "价格")
    private Long coMoney;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date coCreattime;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date coStarttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date coEndtime;

    /** 评语 */
    @Excel(name = "评语")
    private String coRemarks;

    /** 服务地点 */
    @Excel(name = "服务地点")
    private String coAddress;

    /** 0线下1微信 */
    @Excel(name = "0线下1微信")
    private String coPayment;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date coMaketime;

    /** 服务时间 */

    private String coTime;

    /** 姓名 */
    @Excel(name = "姓名")
    private String coName;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String coPhone;

    /** 使用者 */
    @Excel(name = "使用者")
    private Long userId;
    private Long coState;
    private Long coStateWorker;


    public Long getCoState() {
        return coState;
    }

    public void setCoState(Long coState) {
        this.coState = coState;
    }

    public Long getCoStateWorker() {
        return coStateWorker;
    }

    public void setCoStateWorker(Long coStateWorker) {
        this.coStateWorker = coStateWorker;
    }

    public void setCoId(Long coId)
    {
        this.coId = coId;
    }

    public Long getCoId()
    {
        return coId;
    }
    public void setCoType(String coType)
    {
        this.coType = coType;
    }

    public String getCoType()
    {
        return coType;
    }
    public void setCoMoney(Long coMoney)
    {
        this.coMoney = coMoney;
    }

    public Long getCoMoney()
    {
        return coMoney;
    }
    public void setCoCreattime(Date coCreattime)
    {
        this.coCreattime = coCreattime;
    }

    public Date getCoCreattime()
    {
        return coCreattime;
    }
    public void setCoStarttime(Date coStarttime)
    {
        this.coStarttime = coStarttime;
    }

    public Date getCoStarttime()
    {
        return coStarttime;
    }
    public void setCoEndtime(Date coEndtime)
    {
        this.coEndtime = coEndtime;
    }

    public Date getCoEndtime()
    {
        return coEndtime;
    }
    public void setCoRemarks(String coRemarks)
    {
        this.coRemarks = coRemarks;
    }

    public String getCoRemarks()
    {
        return coRemarks;
    }
    public void setCoAddress(String coAddress)
    {
        this.coAddress = coAddress;
    }

    public String getCoAddress()
    {
        return coAddress;
    }
    public void setCoPayment(String coPayment)
    {
        this.coPayment = coPayment;
    }

    public String getCoPayment()
    {
        return coPayment;
    }
    public void setCoMaketime(Date coMaketime)
    {
        this.coMaketime = coMaketime;
    }

    public Date getCoMaketime()
    {
        return coMaketime;
    }
    public void setCoTime(String coTime)
    {
        this.coTime = coTime;
    }

    public String getCoTime()
    {
        return coTime;
    }
    public void setCoName(String coName)
    {
        this.coName = coName;
    }

    public String getCoName()
    {
        return coName;
    }
    public void setCoPhone(String coPhone)
    {
        this.coPhone = coPhone;
    }

    public String getCoPhone()
    {
        return coPhone;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("coId", getCoId())
                .append("coType", getCoType())
                .append("coMoney", getCoMoney())
                .append("coCreattime", getCoCreattime())
                .append("coStarttime", getCoStarttime())
                .append("coEndtime", getCoEndtime())
                .append("coRemarks", getCoRemarks())
                .append("coAddress", getCoAddress())
                .append("coPayment", getCoPayment())
                .append("coMaketime", getCoMaketime())
                .append("coTime", getCoTime())
                .append("coName", getCoName())
                .append("coPhone", getCoPhone())
                .append("userId", getUserId())
                .toString();
    }
}